﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Display.CopsBanditsUI.OfficerCellStates {
    import flash.display.*;
    import org.aswing.*;
    import Classes.*;
    import Display.CopsBanditsUI.*;
    import Display.aswingui.*;

    public class LockedOfficerState extends GenericOfficerState {

        public function LockedOfficerState(_arg1:int, _arg2:OfficerCell){
            super(null, _arg1, _arg2);
        }
        override protected function makeImagePanel():JPanel{
            var _local1:JPanel = ASwingHelper.makeFlowJPanel(FlowLayout.LEFT);
            var _local2:DisplayObject = (new (CopsDialog.assetDict["police_slot_locked"])() as DisplayObject);
            var _local3:AssetPane = new AssetPane(_local2);
            _local1.append(_local3);
            return (_local1);
        }
        override protected function makeNamePanel():JPanel{
            var _local1:JPanel = ASwingHelper.makeSoftBoxJPanelVertical(SoftBoxLayout.CENTER);
            var _local2:JLabel = ASwingHelper.makeLabel(ZLoc.t("Dialogs", "Cops_status_locked"), EmbeddedArt.DEFAULT_FONT_NAME_BOLD, 14, EmbeddedArt.blueTextColor);
            _local1.append(_local2);
            return (_local1);
        }
        override protected function makeActionPanel():JPanel{
            var _local1:JPanel = ASwingHelper.makeSoftBoxJPanelVertical(SoftBoxLayout.TOP);
            var _local2:JLabel = ASwingHelper.makeLabel(ZLoc.t("Dialogs", "Cops_status_upgrade"), EmbeddedArt.DEFAULT_FONT_NAME_BOLD, 14, EmbeddedArt.blueTextColor);
            _local1.appendAll(_local2);
            return (_local1);
        }
        override protected function makeDonutPanel():JPanel{
            var _local1:JPanel = ASwingHelper.makeFlowJPanel(FlowLayout.LEFT);
            var _local2:DisplayObject = (new (CopsDialog.assetDict["police_doughnut_disabled"])() as DisplayObject);
            var _local3:AssetPane = new AssetPane(_local2);
            _local1.append(_local3);
            return (_local1);
        }

    }
}//package Display.CopsBanditsUI.OfficerCellStates 
